/**
 * @author Troy Gardner
 */
class com.troyworks.framework.assets.AssetLibrary {
	public static function initialize(_mc:MovieClip) : Void {
		var s = "$$$$$$$$$$$$$$$$$$$$$$ ASSET LIBRARY LOADED " +  _mc._url +" into " +  _mc._parent._name + " url " + _mc._parent._url;
		_global.log(s);
		trace(s);
		if(_global.DEBUG || _mc._url == _root._url){
		trace("initializing " +_mc  +" as AssetLibrary");
		_mc.createTextField("loadLbl_txt", _mc.getNextHighestDepth(), 5,5,200, 20);		
		_mc.loadLbl_txt.text = "loaded AssetLibrary " + _mc._url;
		_mc.loadLbl_txt.autoSize = true;
		}
		_global.oracle.registerAsset(_mc);
			

	}
		

}